﻿@model Bmz.Studio.Core.Person
@{
    var Resume = Model.Resumes.FirstOrDefault(p => p.IsDefault = true);
}
<!-- START RESUME -->
<section id="resume" class="tm-padding-top-bottom-100">
    <div class="container">
        <div class="row">
            <div class="col-md-6 col-sm-6">
                <h2 class="title">我的 <strong>资料</strong></h2>
                <p><span class="tm-info-label">Name</span> @Model.Name</p>
                <p><span class="tm-info-label">Birthday</span> @Model.Birthday.ToString("yyyy年MM月dd日")</p>
                <p><span class="tm-info-label">Address</span> @Model.Address</p>
                <p><span class="tm-info-label">Phone</span> @Model.Phone</p>
                <p><span class="tm-info-label">Email</span> @Model.Email</p>
                <p><span class="tm-info-label">Website</span> <a href="@Model.Website" class="tm-red-text">@Model.Website</a></p>
            </div>
            <div class="col-md-6 col-sm-6">
                <h2 class="title">@Resume.Name</h2>
                <p>@Resume.Description</p>
                @foreach (var item in Resume.Skills)
                {
                    <h4 class="tm-progress-label">@item.Name <small class="progress-percent-small">@item.Percent.ToString("00%");</small></h4>
                    <div class="progress tm-progress">
                        <div class="progress-bar progress-bar-danger" role="progressbar" aria-valuenow="100" aria-valuemin="0" aria-valuemax="100" style="width: @item.Percent.ToString("00%");"></div>
                    </div>
                }
            </div>
        </div>
    </div>
</section>
<!-- END RESUME -->